package com.the8thfold.anton.settings

class Configuration {

    static constraints = {
    }

    static hasMany = [configurationItems:ConfigurationItem]

    String name

    public asMap() {
        def items = [:]
        configurationItems.each {
            items.put(it.key,it.value)
        }
        items
    }
}
